/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Lib;

/**
 *
 * @author scriptoff
 */
public class Protocole {
    public static final int DMD_ANNUIT = 0;
    public static final int DMD_NBR_ANNEES = 1;
    public static final int SERVEUR_ARRET = 2;
    public static final int OK_MONTANT_ANNUIT = 3;
    public static final int OK_MONTANT_PRET = 4;
    public static final int OK_TAUX_PRET = 5;
    public static final int OK_NOMBRE_ANNEE = 6;
    public static final int ERR_DMD_INCONNUE = -1;
    public static final int ERR_MONTANT_ANNUIT = -2;
    public static final int ERR_MONTANT_PRET = -3;
    public static final int ERR_TAUX_PRET = -4;
    public static final int ERR_NOMBRE_ANNEE = -5;
    public static final int ERR_IO = -6;
    public static final int ERR_CALCUL = -7;
}
